package api

import (
	goods2 "gitee.com/enjoy_5/goods-rpc/internal/api/goods"
	types2 "gitee.com/enjoy_5/goods-rpc/internal/api/types"
	"gitee.com/enjoy_5/goods-rpc/proto/goods"
	"gitee.com/enjoy_5/goods-rpc/proto/types"
	"google.golang.org/grpc"
)

func Service(s *grpc.Server) {
	goods.RegisterGoodsServer(s, &goods2.HandlerGoods{})
	types.RegisterTypesServer(s, &types2.TypeHandler{})
}
